package models;

import com.jfinal.plugin.activerecord.Record;

import models.base.BaseUser;

public class User extends BaseUser<User>{
	/**
	 * 
	 */
	private static final long serialVersionUID = -8196116608037608015L;

	public static final User dao = new User().dao();
	
	public Record toRecord() {
		return new Record().setColumns(this._getAttrs());
	}
	
	public User put(Record record) {
		this._getAttrs().putAll(record.getColumns());
		return this;
	}

}
